package com.lx.zxs.entity;

import java.util.Date;

public class User {
    private Integer id;
    private String username;
    private String phone;
    private String birthdate;
    private String password;
    private String collage;
    private String major;
    private String avatar;
    private Integer dtime;
    private Integer ttime;
    private String realName;
    private String email;

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public Integer getDtime() {
        return dtime;
    }

    public void setDtime(Integer dtime) {
        this.dtime = dtime;
    }

    public Integer getTtime() {
        return ttime;
    }

    public void setTtime(Integer ttime) {
        this.ttime = ttime;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public Integer getId() {
        return id;
    }



    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getBirthdate() {
        return birthdate;
    }

    public void setBirthdate(String birthdate) {
        this.birthdate = birthdate;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getCollage() {
        return collage;
    }

    public void setCollage(String collage) {
        this.collage = collage;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", phone='" + phone + '\'' +
                ", birthdate='" + birthdate + '\'' +
                ", password='" + password + '\'' +
                ", collage='" + collage + '\'' +
                ", major='" + major + '\'' +
                ", avatar='" + avatar + '\'' +
                ", dtime=" + dtime +
                ", ttime=" + ttime +
                ", realName='" + realName + '\'' +
                ", email='" + email + '\'' +
                '}';
    }
}